<form action="<?php echo($action);?>" method="post">
	<table border="1">
		<tr>
			<td>Numero da tinta:</td>
			<td>
				<select name="numerotinta">
					<option value=""></option>
					<?php foreach ($tintas as $tinta):?>
						<option <?php echo (strcmp($cliente->nu_numero, $tinta->nu_numero) == 0) ? 'selected="selected"' : '';?> value="<?php echo($tinta->id_numero_tinta);?>"><?php echo($tinta->nu_numero);?></option>
					<?php endforeach;?>
				</select>
			</td>
		</tr>
		<tr>
			<td>Numero do oxidante:</td>
			<td>
				<select name="numerooxidante">
					<option <?php echo ($cliente->nu_oxidante == NULL) ? 'selected="selected"' : '';?> value=""></option>
					<option <?php echo ($cliente->nu_oxidante == 10) ? 'selected="selected"' : '';?> value="10">10</option>
					<option <?php echo ($cliente->nu_oxidante == 20) ? 'selected="selected"' : '';?> value="20">20</option>
					<option <?php echo ($cliente->nu_oxidante == 30) ? 'selected="selected"' : '';?> value="30">30</option>
					<option <?php echo ($cliente->nu_oxidante == 40) ? 'selected="selected"' : '';?> value="40">40</option>
				</select>
			</td>
		</tr>
		<?php if($cliente->tx_progressiva == 'N'):?>
		<tr>
			<td>Ja fez progressiva?</td>
			<td>
				<input type="radio" name="progressiva" <?php echo ($cliente->tx_progressiva == 'S') ? 'checked="checked" ' : '';?> value="S">Sim</input>
				<input type="radio" name="progressiva" <?php echo ($cliente->tx_progressiva == 'N') ? 'checked="checked" ' : '';?> value="N">Nao</input>
			</td>
		</tr>
		<?php else:?>
			<input type="hidden" name="progressiva" value="S">
		<?php endif;?>		
		<tr>
			<td></td>
			<td><input type="submit" value="Salvar"></td>
		</tr>
		
	</table>
	<input type="hidden" name="idcliente" value="<?php echo($idCliente);?>">
</form>